<template>
    <div class="update">
        <van-cell-group>
            <van-field :value="$store.state.user.phone" label="手机号">
                <van-button slot="button" size="small" type="primary">发送验证码</van-button>
            </van-field>
        </van-cell-group>
        <van-cell-group>
            <van-field v-model="newpwd" label="验证码" placeholder="请输入验证码" />
        </van-cell-group>
        <!-- btn -->
        <van-button type="warning" size="large" class="save" @click="toSave">绑定新手机号</van-button>
    </div>
</template>

<script>
import { Notify } from 'vant';
export default {
    data() {
        return {
            newpwd: ''
        }
    },
    methods: {
        toSave() {
            
        }
    } 
}
</script>

<style lang="less" scoped>
</style>
